package com.teach.cms.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

/**
 * <p>
 * 文章类别	其他说明
 * </p>
 *
 * @author J.L.Zhou
 * @since 2022-10-22 20:38
 */
@TableName("cms_article_type")
public class ArticleType implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 文章类别编号
     */
    @TableId(value = "article_type_id", type = IdType.AUTO)
    private Integer articleTypeId;

    /**
     * 文章类别名称
     */
    @TableField("article_type_name")
    private String articleTypeName;


    public Integer getArticleTypeId() {
        return articleTypeId;
    }

    public void setArticleTypeId(Integer articleTypeId) {
        this.articleTypeId = articleTypeId;
    }

    public String getArticleTypeName() {
        return articleTypeName;
    }

    public void setArticleTypeName(String articleTypeName) {
        this.articleTypeName = articleTypeName;
    }

    @Override
    public String toString() {
        return "ArticleType{" +
        "articleTypeId=" + articleTypeId +
        ", articleTypeName=" + articleTypeName +
        "}";
    }
}
